paths:
  '/collections/{collectionId}/map/{styleId}/tiles/{tileMatrixSetId}':
    get:
      tags:
        - MultiTiles
      summary: |-
        fetch tiles of a collection.
      operationId: getMapTilesCollectionId
      parameters:
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-common/1.0.0#/components/parameters/collectionId'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-map-styles/1.0.0#/components/parameters/styleId'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-maps/1.0.0#/components/parameters/transparent'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-maps/1.0.0#/components/parameters/bgcolor'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-tiles/1.0.0#/components/parameters/tileMatrixSetId'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-tiles/1.0.0#/components/parameters/scaleDenominator'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-common/1.0.0#/components/parameters/bbox'
        - $ref: '#/components/parameters/f-tile'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-tiles/1.0.0#/components/parameters/multiTileType'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-changeset/1.0.0#/components/parameters/checkPoint-query'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-changeset/1.0.0#/components/parameters/changeSetType'
        - $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-changeset/1.0.0#/components/parameters/priority'
        - $ref: '#/components/parameters/f-json-zip'
      responses:
        '200':
          description: |-
            A tiling scheme used to partition the collection into tiles.
          content:
            application/changeset+json:
              schema:
                $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-changeset/1.0.0#/components/schemas/changeSetTiles'
            application/json:
              schema:
                $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-tiles/1.0.0#/components/schemas/tileSet'
            application/vnd.ogc.multipart;container=application/x-zip-compressed;tiles=image/png:
              schema:
                type: string
                format: binary
        '304':
          $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-common/1.0.0#/components/responses/NotModified'
        '404':
          $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-common/1.0.0#/components/responses/NotFound'
        '500':
          $ref: 'https://api.swaggerhub.com/domains/UAB-CREAF/ogc-api-common/1.0.0#/components/responses/ServerError'
components:          
  parameters:
    f-json-zip:
      name: f
      in: query
      description: |-
        The format of the response. If no value is provided, the standard http
        rules apply, i.e., the accept header is used to determine the format.

        The only pre-defined value is "json". The response to other values is
        determined by the server.
      required: false
      style: form
      explode: false
      schema:
        type: string
        enum:
          - json
          - zip
      example: json
    f-tile:
      name: f-tile
      in: query
      description: |-
        The format of the response. If no value is provided, the standard http rules apply, i.e., the accept header is used to determine the format.

        Pre-defined values are jpeg, png or gif for image based tiles
        The response to other values is determined by the server.
      required: false
      style: form
      explode: false
      schema:
        type: string
        enum:
          - image/png
          - image/jpeg
          - image/gif
      example: image/png